package com.wanmait.recruit.mapper;

import com.wanmait.recruit.pojo.Company;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyMapper {
    List<Company> findSelective(@Param("companyName") String companyName,@Param("cityName") String cityName,@Param("scopeMin") Integer scopeMin,@Param("scopeMax") Integer scopeMax);
    List<Company> findAll();
    int deleteByPrimaryKey(Integer id);

    int insert(Company record);

    int insertSelective(Company record);

    Company selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Company record);

    int updateByPrimaryKey(Company record);

    Company findByCompanyName(String companyName);

    Company findById(Integer id);

}